
function y = explin1(x)
% EXPLIN1  function
% x0=[0,0,...,0];
n=length(x);
y=0;tp1=0;tp2=0;
for i=1:n-1
    tp1=tp1+exp(0.1*x(i)*x(i+1));
end
for j=1:n;
    tp2=tp2+i*x(i);
end
y=y+tp1-10*tp2;


